<template>
  <div class="scsj">
    <div class="left">
      <van-icon name="arrow-left" @click="$router.back()" />
      <div class="center">市场数据</div>
    </div>
    <!-- 下拉菜单 -->
    <van-dropdown-menu>
      <van-dropdown-item title="北京" @open="csjs" />
      <van-dropdown-item title="技术经理" />
    </van-dropdown-menu>
    <!-- 城市弹出框 -->
    <dlg v-show="csshow"></dlg>
  </div>
</template>

<script>
export default {
  name: "findson",
  data() {
    return {
      //城市显示框
      csshow: false,
    };
  },
  methods: {
    csjs() {
      this.csshow = !this.csshow;
    },
  },
  components: {
    dlg: () => import("./component/dlg.vue"),
  },
};
</script>

<style lang='less'>
.scsj {
  .left {
    display: flex;
    padding: 15px;
    .center {
      margin: 0 auto;
    }
  }
}
</style>